<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
</style>
<script type="text/javascript"> 
$().ready(function(){
    var op = $('#s option:selected').attr('jqmz');
    $("#mz").val(op);	
}); 
</script> 
</head>
<body>	
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Cashexadmin/cashexport')}">现金出库明细</a></li>
			<li class="active"><a href="" target="_self">现金调拨</a></li>
		</ul>
		<table class="table table-bordered table-hover" style="width:60%;">
		<caption><h3>当前币值库存信息</h3></caption>		
		<tbody>
			<tr>
				<td>当前仓库</td>
				<td>钞币名称</td>
				<td>库存数量【调拨数量不能大于当前最大库存】</td>				
			</tr>
			
			<tr>
				<td>未清分库</td>
				<td>{$qqq.mingcheng}</td>
				<td>{$qqq.shuliang}（{$qqq.danwei}）</td>					
			</tr>			
		</tbody>
		</table>
		<br/>
		<br/>
			<form method="post" class="form-horizontal js-ajax-form" action="{:U('Cashexadmin/diaobo_post')}" id="formdb">
					<fieldset>
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">钞币名称</label>
									<div class="controls">
									<select name="mingcheng" class="form-control" id="s">				
										<option value="{$qqq.mingcheng}" jqmz="{$gtype.mianzhi}" selected="selected">{$qqq.mingcheng}</option>     
									</select>
									</div>					
								</div>
							</div>	
							<div class="span6">
								<div class="control-group">
									<label class="control-label">调入仓库</label>
									<div class="controls">									
										<select name="cangku" class="form-control">										
										<option>已清分库</option>																			                           
										</select>  
									</div>	
								</div>
							</div>	
						 </div>		
						 <div class="row">
							 <div class="span6">
								<div class="control-group">
									<label class="control-label">面值</label>
									<div class="controls">
										<input type="text" name="mianzhi" id="mz">
									</div>
								</div>
							</div>	
							<div class="span6">
								<div class="control-group">
									<label class="control-label">调拨数量</label>
									<div class="controls">
										<input type="text" name="shuliang">
									</div>
								</div>
							</div>	
						</div>	
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">单位</label>
									<div class="controls">
										<select name="danwei" class="form-control">
										<option value="{$qqq.danwei}">{$qqq.danwei}</option>																												                           
										</select>
									</div>
								</div>
							</div>
							<div  class="span6">
								<div class="control-group">
									
								</div>
							</div>	
						</div>	
						<input type="hidden" name="dangqiankucun" value="{$qqq.shuliang}" />														
					</fieldset>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary js-ajax-submit">调拨</button>
						<a class="btn" href="{:U('Cashimadmin/kucun')}">{:L('BACK')}</a>
					</div>
				</form>
	</div>	
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	
</body>
</html>